package org.phalanx.server.game;

import org.phalanx.game.units.PhalanxMapUnitSet;
import org.phalanx.server.ServerCache.Cacheable;

public class PhalanxGameSettings implements Cacheable {
	private Integer id;
	private Integer numberOfPlayers;
	private String mapName;
	private Integer turnMode;
	private Integer turnTime;
	private String gameName;
	private Integer currentTurn;
	private Integer gameCreatorId;
	private PhalanxMapUnitSet uSet;
	
	
	public static final Integer PURE_TURN_MODE = 0;
	public static final Integer PURE_TIME_MODE = 1;
	public static final Integer MIXED_MODE = 2;
	
	@Override
	public Integer getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNumberOfPlayers() {
		return numberOfPlayers;
	}

	public void setNumberOfPlayers(Integer numberOfPlayers) {
		this.numberOfPlayers = numberOfPlayers;
	}

	public String getMapName() {
		return mapName;
	}

	public void setMapName(String mapName) {
		this.mapName = mapName;
	}

	public Integer getTurnMode() {
		return turnMode;
	}

	public void setTurnMode(Integer turnMode) {
		this.turnMode = turnMode;
	}

	public Integer getTurnTime() {
		return turnTime;
	}

	public void setTurnTime(Integer turnTime) {
		this.turnTime = turnTime;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public Integer getCurrentTurn() {
		return currentTurn;
	}

	public void setCurrentTurn(Integer currentTurn) {
		this.currentTurn = currentTurn;
	}

	public void setGameCreatorId(Integer gameCreatorId) {
		this.gameCreatorId = gameCreatorId;
	}

	public Integer getGameCreatorId() {
		return gameCreatorId;
	}

	public void setUnitSet(PhalanxMapUnitSet uSet) {
		this.uSet = uSet;
	}

	public PhalanxMapUnitSet getUnitSet() {
		return uSet;
	}

}
